<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<link rel="Stylesheet" type="text/css"
		href="../../componentes/estilos/estilo.css" />
</h:head>


<p:panel id="idPanelRel1">
	<f:facet name="header">Relações com o Mercado</f:facet>

	<p:panelGrid id="idGridRel1" columns="2">

		<h:outputLabel value="Cultura:"></h:outputLabel>
		<p:selectOneMenu value="cultura">
			<f:selectItem itemLabel="Selecione" itemValue="" />
			<f:selectItems value="#{atividadefrutMB.listarAtividades()}"
				var="atividade" itemLabel="#{atividade.nome}"
				itemValue="#{atividade.id}"></f:selectItems>
		</p:selectOneMenu>
		<h:outputLabel value="Forma de Recebimento:"></h:outputLabel>
		<p:selectOneMenu value="recebimento">
			<f:selectItem itemLabel="Selecione" itemValue="" />
			<f:selectItem itemLabel="A vista" itemValue="1" />
			<f:selectItem itemLabel="A prazo" itemValue="2" />
		</p:selectOneMenu>

		<h:outputText value="Locais de Venda" />
		<p:inputText size="60" />

		<h:outputText value="Volume de Vendas Anual Em Reais (R$)" />
		<p:inputMask size="8" mask="99999,99" />

		<h:outputText value="Volume de Vendas Anual Em Quilos (Kg)" />
		<p:inputMask size="8" mask="99999,99" />

		<h:outputLabel value="Pesquisa de Preços:"></h:outputLabel>
		<p:selectOneMenu value="pesquisaPreco">
			<f:selectItem itemLabel="Selecione" itemValue="0" />
			<f:selectItem itemLabel="Não vende" itemValue="1" />
			<f:selectItem itemLabel="Nunca pesquisa" itemValue="2" />
			<f:selectItem itemLabel="Pesquisa esporadicamente" itemValue="3" />
			<f:selectItem itemLabel="Pesquisa mensalmente" itemValue="4" />
			<f:selectItem itemLabel="Pesquisa semanalmente" itemValue="5" />

		</p:selectOneMenu>

		<h:outputText value="Custo de Produção (R$/Kg)" />
		<p:inputMask size="6" mask="999,99" />

		<h:outputText value="Região de Atuação" />
		<p:inputText size="60" />



	</p:panelGrid>

	<p:panelGrid id="idPanelRel2" columns="1">


		<p:dataTable id="basic" var="fruticulturaCaractTotal">
			<p:column id="modelHeader">
				<f:facet name="header">  
			                    Cultura  
			            </f:facet>
				<h:outputText value="Cultivo de laranja" />
			</p:column>
			<p:column id="modelHeader211">
				<f:facet name="header">  
			                    Locais de Venda  
			            </f:facet>
				<h:outputText value="Mercado Municipal" />
			</p:column>
			<p:column id="modelHeader31">
				<f:facet name="header">  
			                    Recebimento
			            </f:facet>
				<h:outputText value="A vista" />
			</p:column>
			<p:column id="modelHeader32">
				<f:facet name="header">  
			                    Vendas (R$/Ano)
			            </f:facet>
				<h:outputText value="100,00" />
			</p:column>

			<p:column id="modelHeader33">
				<f:facet name="header">  
			                    Vendas (Kg/Ano)
			            </f:facet>
				<h:outputText value="200,00" />
			</p:column>

			<p:column id="modelHeader34">
				<f:facet name="header">  
			                    Região de Atuação
			            </f:facet>
				<h:outputText value="Município" />
			</p:column>

		</p:dataTable>
	</p:panelGrid>

</p:panel>


</html>